package zjs.java;

import org.eclipse.swt.events.MouseEvent;

/**
 * 标准光标事件
 * 
 * @author ZuoBai
 * 
 */
public class CursorEvent {
	public int x;
	public int y;

	/**
	 * 时间
	 */
	public int time;

	/**
	 * 键盘状态掩码
	 */
	public int stateMask;

	public CursorEvent( MouseEvent event, int x, int y ) {
		this.time = event.time;
		this.stateMask = event.stateMask;
		this.x = x;
		this.y = y;
	}
}
